//
//  THFilterModel.m
//  duolaCard
//
//  Created by 希达 on 2018/5/7.
//  Copyright © 2018年 zyy. All rights reserved.
//

#import "THFilterModel.h"

@implementation THFilterModel

@end

@implementation THTextureModel

@end

@implementation THColorModel

- (void)setColorName:(NSString *)colorName {
    NSInteger index = colorName.integerValue;
    switch (index) {
        case 3: _colorName = @"#2C2C2C"; break;
        case 4: _colorName = @"#FCF7F7"; break;
        case 5: _colorName = @"#FA3A2F"; break;
        case 6: _colorName = @"#FF9500"; break;
        case 7: _colorName = @"#FECB02"; break;
        case 8: _colorName = @"#4CD963"; break;
        case 9: _colorName = @"#5AC8FA"; break;
        case 10: _colorName = @"#0079FF"; break;
        case 11: _colorName = @"#5856D6"; break;
        case 12: _colorName = @"#FF2C55"; break;
        default: _colorName = colorName; break;
    }
}

@end
